home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Leser 15
/
Amiga Plus Leser CD 15.iso
/
Tools
/
Development
/
yacas_alg
/
yacas_morphos
/
share
/
yacas
/
include
/
arrayclass.inl
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2002-03-13
|
345 b
|
19 lines
inline LispInt ArrayClass::Size()
{
return iSize;
}
inline LispObject* ArrayClass::GetElement(LispInt aItem)
{
LISPASSERT(aItem>0 && aItem<=iSize);
return iArray[aItem-1].Get();
}
inline void ArrayClass::SetElement(LispInt aItem,LispObject* aObject)
{
LISPASSERT(aItem>0 && aItem<=iSize);
iArray[aItem-1].Set(aObject);
}